<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>upload</title>
</head>
<body>
    <div style="border: 1px solid beige;">
    	<h2>仅仅提交多个文件</h2>
		<form action="${webServer}/onlyUploadFile" method="post" enctype="multipart/form-data">
			请选择文件:<input type="file" name="file"/><br/><br/>
			请选择文件:<input type="file" name="file"/><br/><br/>
			请选择文件:<input type="file" name="file"/><br/><br/>
			<input type="submit" value="提交"/>
		</form>
	</div><br/><br/><br/>
	<div style="border: 1px solid beige;">
    	<h2>表单和文件</h2>
		<form action="${webServer}/allUpload" method="post" enctype="multipart/form-data">
			姓名: <input name="name" id="name" type="text" value="张三" placeholder="张三"/><br/>
			性别: <select id="sex" name="sex">
				<option value="male">男</option>
				<option value="female">女</option>
			</select><br/>
			年龄: <input id="age" name="age" type="text" value="20" placeholder="20"/>岁<br/>
			
			请选择文件:<input type="file" name="file"/><br/><br/>
			请选择文件:<input type="file" name="file"/><br/><br/>
			请选择文件:<input type="file" name="file"/><br/><br/>
			<input type="submit" value="提交"/>
		</form>
	</div>
</body>
</html>